package com.media.publish.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author 关忆北丶
 * @description:
 * @date :2020/11/5 20:43
 */
public class FollowDynamicBean implements Serializable {
    private static final long serialVersionUID = -4950436565723568459L;

    private boolean success;
    private DataBeanX data;
    private int code;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public static class DataBeanX implements Serializable {
        private static final long serialVersionUID = -5278318206707521267L;

        private String cursor;
        private int size;
        private int page;
        private String preCursor;
        private String nextCursor;
        private int count;
        private int totalCount;
        private boolean hasnext;
        private int totalPage;
        private ArrayList<DataBean> data;

        public String getCursor() {
            return cursor;
        }

        public void setCursor(String cursor) {
            this.cursor = cursor;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public String getPreCursor() {
            return preCursor;
        }

        public void setPreCursor(String preCursor) {
            this.preCursor = preCursor;
        }

        public String getNextCursor() {
            return nextCursor;
        }

        public void setNextCursor(String nextCursor) {
            this.nextCursor = nextCursor;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public boolean isHasnext() {
            return hasnext;
        }

        public void setHasnext(boolean hasnext) {
            this.hasnext = hasnext;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public ArrayList<DataBean> getData() {
            return data;
        }

        public void setData(ArrayList<DataBean> data) {
            this.data = data;
        }

        public static class DataBean implements Serializable, MultiItemEntity {
            private static final long serialVersionUID = 214299746533178424L;
            private boolean isInsert;
            private int id;
            private int uid;
            private String icon;
            private String name;
            private String content;
            private int isFans;
            private int provinceId;
            private int cityId;
            private int districtId;
            private String cover;
            private String address;
            private int longitude;
            private int latitude;
            private String video;
            private int status;
            private int supportNum;
            private int commentNum;
            private int favoriteNum;
            private int forwardNum;
            private int forwardId;
            private int wineryId;
            private double sort;
            private long createTime;
            private long utime;
            private long publishTime;
            private int showType;
            private int outForwardNum;
            private int browseNum;
            private long lastCommentOffsetCtime;
            private GroupDetailBean groupDetail;
            private int supported;
            private int favorited;
            private String shareToken;
            private String searchWord;
            private int updateStatus;
            private int rewardScore;
            private boolean hot;
            private boolean recommend;
            private List<String> images;
            private List<Integer> tagIds;
            private List<String> atMemberIds;
            private List<AtMembersBean> atMembers;
            private List<String> tags;
            private List<BottomCommentBean> comments;
            private boolean hasFollowUser;
            private int isWinery;
            private int itemType;

            public boolean isInsert() {
                return isInsert;
            }

            public void setInsert(boolean insert) {
                isInsert = insert;
            }

            public boolean isHasFollowUser() {
                return hasFollowUser;
            }

            public void setHasFollowUser(boolean hasFollowUser) {
                this.hasFollowUser = hasFollowUser;
            }

            public List<BottomCommentBean> getComments() {
                return comments;
            }

            public void setComments(List<BottomCommentBean> comments) {
                this.comments = comments;
            }


            public int getIsWinery() {
                return isWinery;
            }

            public void setIsWinery(int isWinery) {
                this.isWinery = isWinery;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int isFans() {
                return isFans;
            }

            public void setFans(int fans) {
                isFans = fans;
            }

            public void setItemType(int itemType) {
                this.itemType = itemType;
            }


            public GroupDetailBean getGroupDetail() {
                return groupDetail;
            }

            public void setGroupDetail(GroupDetailBean groupDetail) {
                this.groupDetail = groupDetail;
            }

            @Override
            public int getItemType() {
                if (itemType == 0) {
                }
                return itemType;
            }

            public static class GroupDetailBean implements Serializable {

                private static final long serialVersionUID = -6681547754294343303L;
                private int id;
                private String title;
                private String desc;
                private String address;
                private String cover;
                private long ctime;
                private long utime;
                private int status;
                private String notice;
                private int groupRecommendStatus;
                private int groupRecommendPlace;
                private int virtualMember;
                private int groupMemberCount;
                private Object groupHost;
                private boolean hasJoinedGroup;
                private boolean host;
                private List<Object> socialGatheringList;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getDesc() {
                    return desc;
                }

                public void setDesc(String desc) {
                    this.desc = desc;
                }

                public String getAddress() {
                    return address;
                }

                public void setAddress(String address) {
                    this.address = address;
                }

                public String getCover() {
                    return cover;
                }

                public void setCover(String cover) {
                    this.cover = cover;
                }

                public long getCtime() {
                    return ctime;
                }

                public void setCtime(long ctime) {
                    this.ctime = ctime;
                }

                public long getUtime() {
                    return utime;
                }

                public void setUtime(long utime) {
                    this.utime = utime;
                }

                public int getStatus() {
                    return status;
                }

                public void setStatus(int status) {
                    this.status = status;
                }

                public String getNotice() {
                    return notice;
                }

                public void setNotice(String notice) {
                    this.notice = notice;
                }

                public int getGroupRecommendStatus() {
                    return groupRecommendStatus;
                }

                public void setGroupRecommendStatus(int groupRecommendStatus) {
                    this.groupRecommendStatus = groupRecommendStatus;
                }

                public int getGroupRecommendPlace() {
                    return groupRecommendPlace;
                }

                public void setGroupRecommendPlace(int groupRecommendPlace) {
                    this.groupRecommendPlace = groupRecommendPlace;
                }

                public int getVirtualMember() {
                    return virtualMember;
                }

                public void setVirtualMember(int virtualMember) {
                    this.virtualMember = virtualMember;
                }

                public int getGroupMemberCount() {
                    return groupMemberCount;
                }

                public void setGroupMemberCount(int groupMemberCount) {
                    this.groupMemberCount = groupMemberCount;
                }

                public Object getGroupHost() {
                    return groupHost;
                }

                public void setGroupHost(Object groupHost) {
                    this.groupHost = groupHost;
                }

                public boolean isHasJoinedGroup() {
                    return hasJoinedGroup;
                }

                public void setHasJoinedGroup(boolean hasJoinedGroup) {
                    this.hasJoinedGroup = hasJoinedGroup;
                }

                public boolean isHost() {
                    return host;
                }

                public void setHost(boolean host) {
                    this.host = host;
                }

                public List<Object> getSocialGatheringList() {
                    return socialGatheringList;
                }

                public void setSocialGatheringList(List<Object> socialGatheringList) {
                    this.socialGatheringList = socialGatheringList;
                }
            }

            public static class AtMembersBean implements Serializable {
                private static final long serialVersionUID = 4494339399490848232L;
                /**
                 * id : 9605
                 * userType : 0
                 * userRank : 0
                 * name : 酣友1529186
                 * icon : http://39.107.247.82:30002/storage/270*270*ee02f29835545f66517a53a99bf67f8e.jpg
                 * phone : 15726670915
                 * sex : 0
                 * focusFans : false
                 * alternate : 0
                 * isChannel : 0
                 * isForum : 0
                 * isWinery : 0
                 * friends : 0
                 * ctime : 0
                 */

                private int id;
                private int userType;
                private int userRank;
                private String name;
                private String icon;
                private String phone;
                private int sex;
                private boolean focusFans;
                private int alternate;
                private int isChannel;
                private int isForum;
                private int isWinery;
                private int friends;
                private long ctime;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getUserType() {
                    return userType;
                }

                public void setUserType(int userType) {
                    this.userType = userType;
                }

                public int getUserRank() {
                    return userRank;
                }

                public void setUserRank(int userRank) {
                    this.userRank = userRank;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getIcon() {
                    return icon;
                }

                public void setIcon(String icon) {
                    this.icon = icon;
                }

                public String getPhone() {
                    return phone;
                }

                public void setPhone(String phone) {
                    this.phone = phone;
                }

                public int getSex() {
                    return sex;
                }

                public void setSex(int sex) {
                    this.sex = sex;
                }

                public boolean isFocusFans() {
                    return focusFans;
                }

                public void setFocusFans(boolean focusFans) {
                    this.focusFans = focusFans;
                }

                public int getAlternate() {
                    return alternate;
                }

                public void setAlternate(int alternate) {
                    this.alternate = alternate;
                }

                public int getIsChannel() {
                    return isChannel;
                }

                public void setIsChannel(int isChannel) {
                    this.isChannel = isChannel;
                }

                public int getIsForum() {
                    return isForum;
                }

                public void setIsForum(int isForum) {
                    this.isForum = isForum;
                }

                public int getIsWinery() {
                    return isWinery;
                }

                public void setIsWinery(int isWinery) {
                    this.isWinery = isWinery;
                }

                public int getFriends() {
                    return friends;
                }

                public void setFriends(int friends) {
                    this.friends = friends;
                }

                public long getCtime() {
                    return ctime;
                }

                public void setCtime(long ctime) {
                    this.ctime = ctime;
                }
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public int getProvinceId() {
                return provinceId;
            }

            public void setProvinceId(int provinceId) {
                this.provinceId = provinceId;
            }

            public int getCityId() {
                return cityId;
            }

            public void setCityId(int cityId) {
                this.cityId = cityId;
            }

            public int getDistrictId() {
                return districtId;
            }

            public void setDistrictId(int districtId) {
                this.districtId = districtId;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public int getLongitude() {
                return longitude;
            }

            public void setLongitude(int longitude) {
                this.longitude = longitude;
            }

            public int getLatitude() {
                return latitude;
            }

            public void setLatitude(int latitude) {
                this.latitude = latitude;
            }

            public String getVideo() {
                return video;
            }

            public void setVideo(String video) {
                this.video = video;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getSupportNum() {
                return supportNum;
            }

            public void setSupportNum(int supportNum) {
                this.supportNum = supportNum;
            }

            public int getCommentNum() {
                return commentNum;
            }

            public void setCommentNum(int commentNum) {
                this.commentNum = commentNum;
            }

            public int getFavoriteNum() {
                return favoriteNum;
            }

            public void setFavoriteNum(int favoriteNum) {
                this.favoriteNum = favoriteNum;
            }

            public int getForwardNum() {
                return forwardNum;
            }

            public void setForwardNum(int forwardNum) {
                this.forwardNum = forwardNum;
            }

            public int getForwardId() {
                return forwardId;
            }

            public void setForwardId(int forwardId) {
                this.forwardId = forwardId;
            }

            public int getWineryId() {
                return wineryId;
            }

            public void setWineryId(int wineryId) {
                this.wineryId = wineryId;
            }

            public double getSort() {
                return sort;
            }

            public void setSort(double sort) {
                this.sort = sort;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getUtime() {
                return utime;
            }

            public void setUtime(long utime) {
                this.utime = utime;
            }

            public long getPublishTime() {
                return publishTime;
            }

            public void setPublishTime(long publishTime) {
                this.publishTime = publishTime;
            }

            public int getShowType() {
                return showType;
            }

            public void setShowType(int showType) {
                this.showType = showType;
            }

            public int getOutForwardNum() {
                return outForwardNum;
            }

            public void setOutForwardNum(int outForwardNum) {
                this.outForwardNum = outForwardNum;
            }

            public int getBrowseNum() {
                return browseNum;
            }

            public void setBrowseNum(int browseNum) {
                this.browseNum = browseNum;
            }

            public long getLastCommentOffsetCtime() {
                return lastCommentOffsetCtime;
            }

            public void setLastCommentOffsetCtime(long lastCommentOffsetCtime) {
                this.lastCommentOffsetCtime = lastCommentOffsetCtime;
            }

            public int isSupported() {
                return supported;
            }

            public void setSupported(int supported) {
                this.supported = supported;
            }

            public int isFavorited() {
                return favorited;
            }

            public void setFavorited(int favorited) {
                this.favorited = favorited;
            }

            public String getShareToken() {
                return shareToken;
            }

            public void setShareToken(String shareToken) {
                this.shareToken = shareToken;
            }

            public String getSearchWord() {
                return searchWord;
            }

            public void setSearchWord(String searchWord) {
                this.searchWord = searchWord;
            }

            public int getUpdateStatus() {
                return updateStatus;
            }

            public void setUpdateStatus(int updateStatus) {
                this.updateStatus = updateStatus;
            }

            public int getRewardScore() {
                return rewardScore;
            }

            public void setRewardScore(int rewardScore) {
                this.rewardScore = rewardScore;
            }

            public boolean isHot() {
                return hot;
            }

            public void setHot(boolean hot) {
                this.hot = hot;
            }

            public boolean isRecommend() {
                return recommend;
            }

            public void setRecommend(boolean recommend) {
                this.recommend = recommend;
            }

            public List<String> getImages() {
                return images;
            }

            public void setImages(List<String> images) {
                this.images = images;
            }

            public List<Integer> getTagIds() {
                return tagIds;
            }

            public void setTagIds(List<Integer> tagIds) {
                this.tagIds = tagIds;
            }

            public List<String> getAtMemberIds() {
                return atMemberIds;
            }

            public void setAtMemberIds(List<String> atMemberIds) {
                this.atMemberIds = atMemberIds;
            }

            public List<AtMembersBean> getAtMembers() {
                return atMembers;
            }

            public void setAtMembers(List<AtMembersBean> atMembers) {
                this.atMembers = atMembers;
            }

            public List<String> getTags() {
                return tags;
            }

            public void setTags(List<String> tags) {
                this.tags = tags;
            }

            public static class UserBean implements Serializable {
                private static final long serialVersionUID = -1724073398242389100L;
                /**
                 * id : 1646
                 * userType : 0
                 * userRank : 0
                 * name : 甲申丁丙
                 * icon : http://store.hankeapp.cn/storage/400*400*e6906afd3af6e21bf29e4f3f5c94e1a1.jpg
                 * phone : 13000000003
                 * sex : 1
                 * focusFans : true
                 * alternate : 1
                 * isChannel : 1
                 * isForum : 0
                 * isWinery : 0
                 * friends : 0
                 * ctime : 0
                 * provinceId : 0
                 * cityId : 0
                 * districtId : 0
                 */

                private int id;
                private int userType;
                private int userRank;
                private String name;
                private String icon;
                private String phone;
                private int sex;
                private boolean focusFans;
                private int alternate;
                private int isChannel;
                private int isForum;
                private int isWinery;
                private int isFans;
                private int friends;
                private long ctime;
                private int provinceId;
                private int cityId;
                private int districtId;

                public int getIsFans() {
                    return isFans;
                }

                public void setIsFans(int isFans) {
                    this.isFans = isFans;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getUserType() {
                    return userType;
                }

                public void setUserType(int userType) {
                    this.userType = userType;
                }

                public int getUserRank() {
                    return userRank;
                }

                public void setUserRank(int userRank) {
                    this.userRank = userRank;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getIcon() {
                    return icon;
                }

                public void setIcon(String icon) {
                    this.icon = icon;
                }

                public String getPhone() {
                    return phone;
                }

                public void setPhone(String phone) {
                    this.phone = phone;
                }

                public int getSex() {
                    return sex;
                }

                public void setSex(int sex) {
                    this.sex = sex;
                }

                public boolean isFocusFans() {
                    return focusFans;
                }

                public void setFocusFans(boolean focusFans) {
                    this.focusFans = focusFans;
                }

                public int getAlternate() {
                    return alternate;
                }

                public void setAlternate(int alternate) {
                    this.alternate = alternate;
                }

                public int getIsChannel() {
                    return isChannel;
                }

                public void setIsChannel(int isChannel) {
                    this.isChannel = isChannel;
                }

                public int getIsForum() {
                    return isForum;
                }

                public void setIsForum(int isForum) {
                    this.isForum = isForum;
                }

                public int getIsWinery() {
                    return isWinery;
                }

                public void setIsWinery(int isWinery) {
                    this.isWinery = isWinery;
                }

                public int getFriends() {
                    return friends;
                }

                public void setFriends(int friends) {
                    this.friends = friends;
                }

                public long getCtime() {
                    return ctime;
                }

                public void setCtime(long ctime) {
                    this.ctime = ctime;
                }

                public int getProvinceId() {
                    return provinceId;
                }

                public void setProvinceId(int provinceId) {
                    this.provinceId = provinceId;
                }

                public int getCityId() {
                    return cityId;
                }

                public void setCityId(int cityId) {
                    this.cityId = cityId;
                }

                public int getDistrictId() {
                    return districtId;
                }

                public void setDistrictId(int districtId) {
                    this.districtId = districtId;
                }
            }
        }

        public static class BottomCommentBean {
            private String id;
            private String content;
            private String uid;
            private String name;
            private String icon;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }
        }
    }
}
